package ooday02;

public class Dctor extends person{
    int type;
    Dctor(String name,String address,String gender,int age,int type){
        super(name,address,gender,age);
        this.type=type;
    }
    void doctor(){
        System.out.println(name+"在做手术");
    }
}
